package com.modules.login;

import com.base.activity.ActivityScope;

import dagger.Module;
import dagger.Provides;

/**
 * Created by gml on 17/1/6.
 */

@Module
public class LoginModule {


    private  LoginContract.View vIewInterface;

    public LoginModule(LoginContract.View vIewInterface){
        this.vIewInterface =vIewInterface;
    }
    //在DI容器中提供View接口的实例化对象
    @ActivityScope
    @Provides
    LoginContract.View getvIewInterface(){
        return  vIewInterface;
    }

//    @ActivityScope
//    @Provides
//    LoginPresenter getLoginPresenter(){
//        return  new LoginPresenter();
//    }





}
